/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  column: [
	  {
      label: '账户唯一标识（对应不同用户类型）',
      prop: 'id',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '登录账号',
      prop: 'phone'
    },
	  {
      label: '渠道方登录密码',
      prop: 'password',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '公司名称',
      prop: 'company'
    },
	  {
      label: '渠道编号',
      prop: 'channelPhotoId',
    },
	  {
      label: '渠道等级',
      prop: 'grade'
    },
	  {
      label: '上级渠道',
      prop: 'channelId'
    },
	  {
      label: '删除标记（0.显示    1.隐藏）',
      prop: 'delFlag',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '描述',
      prop: 'des',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '备注',
      prop: 'remarks',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '创建时间',
      prop: 'createTime',
      type:"datetime",
      valueFormat:"yyyy-MM-dd HH:mm:ss",
    },
  ]
}
